package org.open.otalk.aidl.packet;

import android.os.Parcel;
import android.os.Parcelable;

public abstract class OIPacketExtension implements Parcelable {

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		
	}
	
	/**
     * Returns the root element name.
     *
     * @return the element name.
     */
	abstract public String getElementName();

    /**
     * Returns the root element XML namespace.
     *
     * @return the namespace.
     */
	abstract public String getNamespace();

    /**
     * Returns the XML representation of the PacketExtension.
     *
     * @return the packet extension as XML.
     */
	abstract public String toXML();

}
